<?php
	/* Template Name: Full Width Landing Page */
	/* Created: 2013.7.2 - Matt B */
	/* Used For Full-Width Content Landing Pages */
?>

<?php get_header() ?>

	<div id="container">
    
    	<?php include('breadcrumbs.php'); ?>
    
		<div id="content" style="width:100%;">

		<?php the_post() ?>
        
        	<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>" style="width:100%;">
			<?php if(is_page(array(126, 5513, 148, 173, 5511, 214, 216, 221))) { ?>
				<h2 class="entry-title" style="line-height:28px;"><?php the_title() ?></h2>
			<?php } ?>
			<?php include ('socialbuttons.php'); ?>
			<div class="entry-content" style="width:100%;">

				<?php if(!is_page(array(126, 5513, 148, 173, 5511, 214, 216, 221))) { ?>

				<div style="width:440px;float:left;margin:0px;margin-left:30px;">
					<?php $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>
					<img src="<?php echo $feat_image; ?>" alt="<?php the_title(); ?>" style="width:440px;height:auto;margin-bottom:20px;" />
				</div>
                    		<div class="lptopright" style="width:460px;float:right;margin:0px;margin-right:30px;">
					<style>
						.lptopright p, #content .lptopright ul li, p { font-size:12px;line-height:20px;margin-bottom:10px; }
						#content, #content table td, #content table th { font-size:12px; }
					</style>

					<?php if(is_page(array(75, 98))) { ?>
						<a href="http://www.sunmaxxsolar.com/storage-tanks.php" style="display:block;height:40px;line-height:40px;text-align:center;color:#ffffff;background:#e77d1d;font-size:15px;font-weight:bold;text-decoration:none;margin-bottom:20px;"><< Check Out All Of Our Solar Storage Tanks</a>
					<?php } ?>

					<h2 class="entry-title" style="line-height:28px;"><?php the_title() ?></h2>

					<?php the_content() ?>
				</div>

				<?php if(is_page(98)) { ?>
					<h3 style="text-align:center;">Now Featuring 10-Year Standard &amp; 20-Year Extended Warranty Options! Ask Your Rep For Details!</h3>
				<?php } ?>

				<?php if(is_page(73)) { ?>
					
					<div style="width:1040px;padding-top:10px;padding-bottom:10px;border-top:#cccccc 1px solid;border-bottom:#cccccc 1px solid;background:#f2f2f2;float:left;margin-left:-20px;margin-top:20px;margin-bottom:20px;text-align:center;">
					<h3 style="margin:0px;">Sizing Guide: Find The Perfect Storage Tank For You</h3>
					<p style="margin:0px;margin-bottom:10px;">Let us walk you through choosing the right solar storage tank for your needs!</p>
					<div style="width:550px;height:30px;margin:0px;margin-left:auto;margin-right:auto;">
						<div style="width:50%;height:30px;float:left;margin:0px;text-align:center;">
							<a href="/../residential-solar-hot-water-storage-tanks.php" class="button"style="display:inline-block;height:30px;line-height:30px;padding-left:20px;padding-right:20px;background:#002d55;color:#ffffff;font-size:15px;font-weight:bold;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;text-decoration:none;">Residential Tank Guide</a>
						</div>
						<div style="width:50%;height:30px;float:left;margin:0px;text-align:center;">
							<a href="/../commercial-solar-hot-water-storage-tanks.php" class="button"style="display:inline-block;height:30px;line-height:30px;padding-left:20px;padding-right:20px;background:#002d55;color:#ffffff;font-size:15px;font-weight:bold;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;text-decoration:none;">Commercial Tank Guide</a>
						</div>
						<div style="width:100%;height:0px;clear:both;"></div>
					</div>
					</div>
	
				<?php } else {
						if(!is_page(230)) {
							include 'page-include-contact-wide-bar.php';
						}
				} ?>

				<?php } ?>

				<?php // INCLUDE LANDING PAGE CONTENT CHUNKS IF AVAILABLE FOR PAGE - BY ID
					if(is_page(44)) {
						include 'content-page-44.php';
					} elseif (is_page(56)) {
						include 'content-page-56.php';
					} elseif (is_page(40)) {
						include 'content-page-40.php';
					} elseif (is_page(73)) {
						include 'content-page-73.php';
					} elseif (is_page(100)) {
						include 'content-page-100.php';
					} elseif (is_page(110)) {
						include 'content-page-110.php';
					} elseif (is_page(65)) {
						include 'content-page-65.php';
					} elseif (is_page(126)) {
						include 'content-page-126.php';
					} elseif (is_page(5513)) {
						include 'content-page-5513.php';
					} elseif (is_page(148)) {
						include 'content-page-148.php';
					} elseif (is_page(173)) {
						include 'content-page-173.php';
					} elseif (is_page(5511)) {
						include 'content-page-5511.php';
					} elseif (is_page(214)) {
						include 'content-page-214.php';
					} elseif (is_page(216)) {
						include 'content-page-216.php';
					} elseif (is_page(221)) {
						include 'content-page-221.php';
					} elseif (is_page(230)) {
						include 'content-page-230.php';
					}

				?>

				<?php if(is_page(15222)) {
						include '/home/sunmaxxs/public_html/wp-content/themes/SunMaxxSolar/content-test-page.php';
					} ?>

			</div>

		</div><!-- #content -->
	</div><!-- #container -->

<?php get_footer() ?>
